package org.jeecg.modules.ecard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 
 * </p>
 *
 * @author 杜正冬
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("SMART.SMART_MACHINE")
@ApiModel(value = "SmartMachineEntity对象", description = "")
public class SmartMachineEntity extends Model<SmartMachineEntity> {

    private static final long serialVersionUID = 1L;

    @TableId("SMT_AUTHNO")
    private Long smtAuthno;

    @TableField("SMT_MACHINEID")
    private String smtMachineid;

    @TableField("SMT_MACHINENO")
    private Integer smtMachineno;

    @TableField("SMT_ORG_ID")
    private String smtOrgId;

    @TableField("SMT_LOCATIONCODE")
    private String smtLocationcode;

    @TableField("SMT_PARENT_ID")
    private Long smtParentId;

    @TableField("SMT_PORTNO")
    private Integer smtPortno;

    @TableField("SMT_COMADDR")
    private String smtComaddr;

    @TableField("SMT_IPADDR")
    private String smtIpaddr;

    @TableField("SMT_IPADDRDES")
    private String smtIpaddrdes;

    @TableField("SMT_BAUDRATE")
    private Integer smtBaudrate;

    @TableField("SMT_MACHINEVER")
    private String smtMachinever;

    @TableField("SMT_PROGRAMVER")
    private String smtProgramver;

    @TableField("SMT_MACHINECODE")
    private String smtMachinecode;

    @TableField("SMT_STATUS")
    private Short smtStatus;

    @TableField("SMT_CHANGEDATE")
    private Date smtChangedate;

    @TableField("SMT_COMMODE")
    private Short smtCommode;

    @TableField("SMT_COLLECTWAY")
    private Short smtCollectway;

    @TableField("SMT_ONNET")
    private Short smtOnnet;

    @TableField("SMT_ONLINE")
    private Short smtOnline;

    @TableField("SMT_STATIONIP")
    private Short smtStationip;

    @TableField("SMT_DAILYCODE")
    private String smtDailycode;

    @TableField("SMT_DAILYNO")
    private Long smtDailyno;

    @TableField("SMT_REGNO")
    private String smtRegno;

    @TableField("SMT_SYSPWD")
    private String smtSyspwd;

    @TableField("SMT_USECARD")
    private String smtUsecard;

    @TableField("SMT_CLASS")
    private String smtClass;

    @TableField("SMT_PORTCOUNT")
    private Short smtPortcount;

    @TableField("SMT_PSAMCARDNO")
    private String smtPsamcardno;

    @TableField("SMT_DEALCODE")
    private String smtDealcode;

    @TableField("SMT_PWDSWITCH")
    private Short smtPwdswitch;

    @TableField("SMT_OPRPWD")
    private String smtOprpwd;

    @TableField("SMT_REGTIME")
    private Date smtRegtime;

    @TableField("SMT_TSPLANTIME")
    private Date smtTsplantime;

    @TableField("SMT_TSFACTTIME")
    private Date smtTsfacttime;

    @TableField("SMT_CSPLANTIME")
    private Date smtCsplantime;

    @TableField("SMT_CSFACTTIME")
    private Date smtCsfacttime;

    @TableField("SMT_TCPLANTIME")
    private Date smtTcplantime;

    @TableField("SMT_TCFACTTIME")
    private Date smtTcfacttime;

    @TableField("SMT_TYPLANTIME")
    private Date smtTyplantime;

    @TableField("SMT_TYFACTTIME")
    private Date smtTyfacttime;

    @TableField("SMT_ZXPLANTIME")
    private Date smtZxplantime;

    @TableField("SMT_ZXFACTTIME")
    private Date smtZxfacttime;

    @TableField("SMT_LOCATION")
    private String smtLocation;

    @TableField("SMT_LINENO")
    private String smtLineno;

    @TableField("SMT_COMVER")
    private String smtComver;

    @TableField("SMT_LEVEL")
    private Short smtLevel;

    @TableField("SMT_LEVELARRAY")
    private String smtLevelarray;

    @TableField("SMT_OPERATOR")
    private String smtOperator;

    @TableField("SMT_LISTMARK")
    private Short smtListmark;

    @TableField("SMT_LINKFORM")
    private Short smtLinkform;

    /**
     * 名单模式编码
     */
    @ApiModelProperty("名单模式编码")
    @TableField("SMT_MDMODALCODE")
    private Short smtMdmodalcode;

    @TableField("SMT_FACIALFEATURESVER")
    private String smtFacialfeaturesver;

    @TableField("SMT_ALGORITHMID")
    private Short smtAlgorithmid;

    @Override
    public Serializable pkVal() {
        return this.smtAuthno;
    }
}
